/**
 * 
 */
package org.codesketch.flamingo.domain;

/**
 * @author quirino
 *
 */
public class Response<T> {
	private T data;
	private int status;
	private String message;
	
	/**
	 * Create a new empty instance of Response
	 */
	public Response() {
		status = 418;
		message = "I'm a teapot";
	}
	/**
	 * @param data
	 * @param status
	 * @param message
	 */
	public Response(final T data, final int status, final String message) {
		this.data = data;
		this.status = status;
		this.message = message;
	}
	
	public T getData() {
		return data;
	}
	public void setData(final T data) {
		this.data = data;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(final int status) {
		this.status = status;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(final String message) {
		this.message = message;
	}
}
